<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.time.php';
require '../core/core.jobs.php';

$login=new core_security;
if ($login->checklogin()=="OK") {
$job=new core_job;
$job->id=$_POST['id'];

$job->setbyID($_POST['id']);
$job->note=$_POST['value'];
//echo $job->id." ".$job->uid;
$job->edit();
echo $_POST['value'];

}
?>
